Constructor
GimpUiFileEntrynew
Declaration [src]
GtkWidget*
gimp_file_entry_new (
const gchar* title,
const gchar* filename,
gboolean dir_only,
gboolean check_valid
)
Parameters
title
-
Type:
const gchar*
The title of the
GimpFileEntry
dialog.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. filename
-
Type:
const gchar*
The initial filename.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. dir_only
-
Type:
gboolean
TRUE
if the file entry should accept directories only. check_valid
-
Type:
gboolean
TRUE
if the widget should check if the entered file really exists.
Return value
Type: GtkWidget
A pointer to the new GimpFileEntry
widget.
The data is owned by the called function. |